import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';//导入ElementUI
import 'element-ui/lib/theme-chalk/index.css';
import './assets/gloable.css'
import request from './utils/request';
import store from './store';


Vue.config.productionTip = false
Vue.use(ElementUI,{size:"mini"});//size:"mini"可以让组件缩小，建议页面完成之后再设置(,{size:"mini"})

//引入request对象
Vue.prototype.request = request

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
